In this step-by-step tutorial you will learn how to format disk partition in Linux using ext4, FAT32, or NTFS file systems. Checking the Partitions · Formatting Disk Partition in Linux
First of all you need to create a partition, then you can make the filesystem. Create a new partition sudo fdisk /dev/sda This will bring up the fdisk menu.
Ext4 is the evolution of the most used Linux filesystem, Ext3. In many ways, Ext4 is a deeper improvement over Ext3 than Ext3 was over Ext2. 1Create a new ext4 filesystem · 2Migrating from ext2/ext3 to ext4